<?php use_helper('Javascript') ?>
<h3>Agregar Productos</h3>
<?php echo form_remote_tag(array(
        'url' => 'pedidos/detallePedido?act=new',
        'update' => 'detalle_pedido',
        'method' => 'post',
        'after' => "Element.show('indicator_ajax')",
        'complete' => "Element.hide('indicator_ajax')",
    )) ?>
        <table>
            <tbody>
                <tr><?php echo $formAgregar['pro_ped_descripcion']->renderRow() ?></tr>
                <tr><?php echo $formAgregar['pro_ped_talle']->renderRow() ?></tr>
                <tr><?php echo $formAgregar['pro_ped_cantidad']->renderRow() ?></tr>
                <tr style="height: 40px;">
                    <td  style="vertical-align: middle;">
                        <input type="submit" value="Agregar">
                    </td>
                    <td>
                        <div id="indicator_ajax" style="display: none; text-align: right;">
                            <img alt="Cargando..." title="Cargando..." src="/images/indicator.gif" height="16" width="16" />
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>


